dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ba466
)
Fixed dumpBlocks fcn
author
freakolowsky
<freak@drajv.si>
Wed, 17 Apr 2013 12:18:17 +0000
(14:18 +0200)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 25 Apr 2013 18:34:54 +0000
(18:34 +0000)
Change-Id: I5db9105a38ffd968cf6a6bac0d723db40ec1f518
tests/phpunit/includes/BlockTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/BlockTest.php
b/tests/phpunit/includes/BlockTest.php
index
02546fa
..
b0448c0
100644
(file)
--- a/
tests/phpunit/includes/BlockTest.php
+++ b/
tests/phpunit/includes/BlockTest.php
@@
-59,7
+59,7
@@
class BlockTest extends MediaWikiLangTestCase {
* debug function : dump the ipblocks table
*/
function dumpBlocks() {
-
$v = $this->db->query( 'SELECT * FROM unittest_ipblocks
' );
+
$v = $this->db->select( 'ipblocks', '*
' );
print "Got " . $v->numRows() . " rows. Full dump follow:\n";
foreach ( $v as $row ) {
print_r( $row );